﻿using Domain.Entities;
using FrameworkCore.Attributes;
using System.ComponentModel.DataAnnotations;

namespace AiBLSmartEdu.Module.SmartChemistry.API.DTOs;

#nullable disable

/// <summary>
/// 创建化学提问
/// </summary>
[Map(typeof(ChemistryAsk))]
public class ChemistryAskCreateInputModel
{
    /// <summary>
    /// 问题
    /// </summary>
    [Required(ErrorMessage = "问题是必填项。")]
    public string Question { get; set; }
}